﻿import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { YclCostImportComponent } from './direct-cost/ycl-cost.component';
import { ZzCostImportComponent } from './actual-cost/zz-cost.component';
import { RdCostImportComponent } from './actual-cost/rd-cost.component';
import { RgCostImportComponent } from './actual-cost/rg-cost.component';
import { ImportRecordModalComponent } from './shared/import/import-record-preview-modal.component';
import { BzjCostImportComponent } from './direct-cost/bzj-cost.component';
import { WxcpCostImportComponent } from './direct-cost/wxcp-cost.component';
import { QtCostImportComponent } from './direct-cost/qt-cost.component';
import { FzclCostImportComponent } from './actual-cost/fzcl-cost.component';

@NgModule({
    imports: [
        RouterModule.forChild([
            {
                path: '',
                children: [
                    { path: 'zzcost', component: ZzCostImportComponent },
                    { path: 'rdcost', component: RdCostImportComponent },
                    { path: 'rgcost', component: RgCostImportComponent },
                    { path: 'yclcost', component: YclCostImportComponent },
                    { path: 'exceldata', component: ImportRecordModalComponent },
                    { path: 'bzjcost', component: BzjCostImportComponent },
                    { path: 'wxcpcost', component: WxcpCostImportComponent },
                    { path: 'qtcost', component: QtCostImportComponent },
                    { path: 'fzclcost', component: FzclCostImportComponent }
                ]
            }
        ])
    ],
    exports: [RouterModule]
})
export class CostImportRoutingModule {}
